<%--
  Created by IntelliJ IDEA.
  User: WHH
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    table{
        border: 1px solid black;
    }
    td{
        border: 1px solid black;
    }
</style>
<h1>Step3:订单确认</h1>
<body><table>
    <tr>
        <%
            HttpSession session1 = request.getSession();
            String name = String.valueOf(session1.getAttribute("name"));
            String java = (String) session1.getAttribute("java");
            String Oracle = (String) session1.getAttribute("Oracle");
            String Struts = (String) session1.getAttribute("Struts");
            String address = String.valueOf(session1.getAttribute("address"));
            String username= String.valueOf(session1.getAttribute("username"));
            String card = String.valueOf(session1.getAttribute("card"));

        %>
        <td>顾客姓名:</td>
        <td><%out.write(name);%></td>
    </tr>
    <tr>
        <td>地址:</td>
        <td><%out.write(address);%></td>
    </tr>
    <tr>
        <td>付款信息:</td>
    </tr>
    <tr>
        <td>信用卡类型:</td>
        <td><%out.write(card);%></td>
    </tr>
    <tr>
        <td>卡号:</td>
        <td><%out.write(username);%></td>
    </tr>
    <tr >
        <td colspan="2">订货项目</td>
    </tr>
    <tr>
        <td height="60" rowspan="3"></td>
        <td><%out.write(java);%></td>
    </tr>
    <tr>
        <td ><%out.print(Oracle);%> </td>
    </tr>
    <tr>
        <td ><%out.print(Struts);%> </td>
    </tr>
</table>
</body>
</html>
